<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" href="/static/layui/css/layui.css">
  <link rel="stylesheet" href="/static/css/common.min.css">
  <link rel="stylesheet" href="/static/css/form.min.css">
  <title>登录页面</title>
</head>

<body>

  <div id="form">
    <div class="form-container login-container">
      <div class="title">
        <img src="/static/image/login-title.png">
      </div>
      <div class="content layui-form">
        <div class="input-row">
          <div class="key">用户名</div>
          <div class="val">
            <input type="text" class="layui-input" lay-verType="tips" lay-verify="required" name="username">
          </div>
        </div>
        <div class="input-row">
          <div class="key">密码</div>
          <div class="val">
            <input type="password" class="layui-input" lay-verType="tips" lay-verify="required" name="password">
          </div>
        </div>
        <div class="input-row code-row {if $data.vaildcodeshow==1}layui-show{/if}">
          <div class="key">验证码</div>
          <div class="val relative">
            <div class="input layui-inline">
              <input type="text" class="layui-input" lay-verType="tips" lay-verify="" name="code">
            </div>
            <div class="code layui-inline">
              <img src="?r=userlogin/verify" title="点击刷新验证码">
            </div>
          </div>
        </div>
        <div class="layui-btn login-btn" lay-submit lay-filter="login">登录</div>
      </div>
    </div>
  </div>

  <script src="/static/layui/layui.js"></script>
  <script src="/static/js/common.js"></script>
  <script src="/static/js/login.js"></script>

</body>

</html>